package com.example.hello.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by JiWen on 2019/1/9 at Qudian.
 */
@RestController
public class HelloController {
    @RequestMapping(value = "/isAlive", method = RequestMethod.GET)
    public String helloWorld() {
        return "Yes, I'm still alive. ";
    }
}
